#!/bin/bash

DIR="$( cd "$( dirname "$0" )" && pwd )"

DES="$DIR/../../src/main/java"
thrift --gen java -out $DES $DIR/service.thrift
thrift --gen java -out $DES $DIR/scribe.thrift

DES="$DIR/../../php"
thrift --gen php -out $DES $DIR/service.thrift

echo "DONE!"
